//
//  ToolMenuCell.m
//  乐账
//
//  Created by 谢毅 on 17/1/15.
//  Copyright © 2017年 xieyi. All rights reserved.
//

#import "ToolMenuCell.h"

@interface ToolMenuCell()

@property (weak, nonatomic) IBOutlet UIImageView *image;

@end

@implementation ToolMenuCell

- (void)awakeFromNib {
    // Initialization code
}
-(void)setCellmodel:(ToolCellModel *)cellmodel{

    _cellmodel = cellmodel;
    _image.image = [UIImage imageNamed:cellmodel.imagename];
    NSLog(@"%@",_image);
}

-(void)setNamestring:(NSString *)namestring{
    _namestring = namestring;
    _image.image = [UIImage imageNamed:namestring];

}
@end
